package com.xuxin.baby.contract;

import com.xuxin.baby.bean.BaseBean;
import com.xuxin.baby.bean.ServiceBean;
import com.xuxin.baby.presenter.ServicePresenter;

/**
 * Created by xu_xin
 * Created on 2020/10/23 0023
 * 平台客服
 */
public interface ServiceContract {

    interface Model {

        void getService(ServicePresenter presenter, String tenantId, String token);
    }

    interface View extends BaseContract.view {

        void onSuccess(ServiceBean serviceBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getService(String tenantId, String token);

        void onSuccess(ServiceBean serviceBean);
    }
}